package cn.xopencode.userservice.rpc.user.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户查询
 *
 * @Author xiaodawei
 * @since 2021/9/24
 */
@Data
@Accessors(chain = true)
@ApiModel("用户查询按组传参仅选一组")
public class UserParamDTO implements Serializable {


    @ApiModelProperty(value = "参数分组1：姓名（可模糊查询）")
    private String emplName;

    @ApiModelProperty(value = "参数分组2： 部门Id")
    private String deptId;

    @ApiModelProperty(value = "参数分组3：职务ID", hidden = true)
    private String positionId;

    @ApiModelProperty(value = "参数分组4：用户账号", hidden = true)
    private String userName;

    @ApiModelProperty(value = "参数分组5：手机号", hidden = true)
    private String mobile;

    @ApiModelProperty(value = "参数分组4/5：密码", hidden = true)
    private String password;

    @ApiModelProperty(value = "参数分组4/5：登陆Ip", hidden = true)
    private String loginIp;

    @ApiModelProperty(value = "参数分组4/5：登陆时间", hidden = true)
    private Date loginDate;

}
